import { PureComponent } from 'react'
import { Input, Select, Button} from 'antd'
import SingleTable from 'components/table/index'
import styles from './portStatement.less'
const { Option } = Select
export default class PortStatement extends PureComponent {
    render(){
        const columns = [
            {
                key: 'gmtCreate',
                title: '结算编号',
                dataIndex: 'gmtCreate',
                align: 'center',
            },
            {
                key: 'operationTypeName',
                title: '结算周期',
                dataIndex: 'operationTypeName',
                align: 'center',
            },
            {
                key: '20',
                title: '目的港',
                dataIndex: 'operationTypeName',
                align: 'center',
            },
            {
                key: 'creatorName',
                title: '创建时间',
                dataIndex: 'creatorName',
                align: 'center',
            },
            {
                key: '4',
                title: '账单状态',
                dataIndex: 'creatorName',
                align: 'center',
            },
            {
              key: '5',
              title: '包件数',
              dataIndex: 'creatorName',
              align: 'center',
            },
            {
              key: '6',
              title: '实际重量(KG)',
              dataIndex: 'creatorName',
              align: 'center',
            },
            {
                key: '7',
                title: '计费重量(KG)',
                dataIndex: 'creatorName',
                align: 'center',
            },
            {
                key: '8',
                title: '应收金额(CNY)',
                dataIndex: 'creatorName',
                align: 'center',
            },
            {
                key: '9',
                title: '应收金额(USD)',
                dataIndex: 'creatorName',
                align: 'center',
            },
            {
                key: '10',
                title: '已款金额(CNY)',
                dataIndex: 'creatorName',
                align: 'center',
            },
            {
                key: '11',
                title: '已款金额(USD)',
                dataIndex: 'creatorName',
                align: 'center',
            },
            {
                key: '12',
                title: '其他费用(CNY)',
                dataIndex: 'creatorName',
                align: 'center',
            },
            {
                key: '13',
                title: '其他费用(USD)',
                dataIndex: 'creatorName',
                align: 'center',
            },
            {
                key: '16',
                title: '始发港成本(CNY)',
                dataIndex: 'creatorName',
                align: 'center',
            },
            {
                key: '17',
                title: '目的港成本(USD)',
                dataIndex: 'creatorName',
                align: 'center',
            },
            {
                key: '18',
                title: '导出',
                dataIndex: 'creatorName',
                align: 'center',
            },
          ]
          const dataList = []
        return(
            <div className={styles.portStatement}>
                <div className={styles.portStatementBox}>
                    <h2>目的港报表</h2>
                </div>
                <div className={styles.portStatementSearch}>
                    <div className={styles.portStatementSin}>
                        <span className={styles.portStatementSpan}>账单状态：</span>
                        <Select className={styles.portStatementInput}>
                            <Option value="value">value</Option>
                        </Select>
                    </div>
                    <div className={styles.portStatementSin} style={{marginLeft: '28px'}}>
                        <span className={styles.portStatementSpan}>目的港：</span>
                        <Select className={styles.portStatementInput}>
                            <Option value="value">value</Option>
                        </Select>
                    </div>
                    <div className={styles.portStatementSin} style={{marginLeft: '28px'}}>
                        <span className={styles.portStatementSpan}>结算编号：</span>
                        <Input className={styles.portStatementInput} />
                    </div>
                </div>
                <Button type="primary" icon="search" style={{margin: '0 0 24px 24px'}}>查询</Button>
                <div className={styles.portStatementTable}>
                    <SingleTable
                        data={{ list: dataList }}
                        columns={columns}
                    />
                </div>
            </div>
        )
    }
}